package com.purchase.manage.damian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 产品询价表
 * </p>
 *
 * @author chuan
 * @since 2023-07-06
 */
@Data
@TableName("order_quotation_product")
public class OrderQuotationProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品询价ID
     */
    @TableId(value = "quotation_product_id", type = IdType.AUTO)
    private int quotationProductId;

    /**
     * 产品询价单所在id
     */
    private String quotationId;

    /**
     * 单价
     */
    private BigDecimal productUnitPrice;

    /**
     * 备注
     */
    private String productRemark;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 规格类型
     */
    private String productSpecifications;

    /**
     * 技术参数
     */
    private String productTechnicalParameters;

    /**
     * 厂家品牌
     */
    private String productBrand;

    /**
     * 产品数量
     */
    private Integer productNumber;

    @Override
    public String toString() {
        return "OrderQuotationProduct{" +
                "quotationProductId=" + quotationProductId +
                ", quotationId='" + quotationId + '\'' +
                ", productUnitPrice=" + productUnitPrice +
                ", productRemark='" + productRemark + '\'' +
                ", productName='" + productName + '\'' +
                ", productSpecifications='" + productSpecifications + '\'' +
                ", productTechnicalParameters='" + productTechnicalParameters + '\'' +
                ", productBrand='" + productBrand + '\'' +
                ", productNumber=" + productNumber +
                ", productUnit='" + productUnit + '\'' +
                ", productMoney=" + productMoney +
                '}';
    }

    /**
     * 产品单位
     */
    private String productUnit;
    private BigDecimal productMoney;
}


